{% load i18n %}
{% load tagging_tags %}

<div class="photo-right-tools">
    {% if book.tags %}
        <h2><img src="/site_media/tags.png" border="0" class="noborder" align="absmiddle" /> Tags</h2> 
        <ul>
            {% tags_for_object book as tags %}
            {% for tag in tags %}
                <li><a href="/tags/{{ tag }}">{{ tag }}</a></li>
            {% endfor %}
        </ul>

        <div class="embed">
        <a href="#" onclick="$('#embed-code').toggle(); return false;">{% trans "Get Embed Code" %}</a>
             <div id="embed-code" style="display: none;">
                <textarea>
                    <a href="{{ host }}/books/details/{{ book.id }}"><img src="{{ host }}/{{ book_url }}" alt="{{ book.title }}"/></a>
                </textarea>
            </div>
        </div>

    {% endif %}
    

</div>

<div class="photo-right-exif">

</div>

